<template>
  <div>
    <h3>新闻详细</h3>
    <h4>{{ title }}新闻</h4>
  </div>
</template>

<script>
export default {
  name: "NewsDetail",
  mounted() {
    console.log(this);
  },
  computed: {
    title() {
      return this.$route.query.title;
    },
  },
};
</script>

<style></style>
